load("@build_stack_rules_proto//rules:proto_plugin.bzl", "proto_plugin")
load("@npm_ts_proto//plugin/stephenh/ts-proto:ts-proto/package_json.bzl", ts_proto = "bin")

ts_proto.protoc_gen_ts_proto_binary(
    name = "ts-proto",
)

proto_plugin(
    name = "protoc-gen-ts-proto",
    tool = ":ts-proto",
    visibility = ["//visibility:public"],
)

filegroup(
    name = "all_files",
    srcs = ["BUILD.bazel"],
    visibility = ["//plugin:__pkg__"],
)
